package hotciv.common;

import hotciv.framework.Position;
import hotciv.framework.Tile;


public class TileImpl implements Tile
{
	private Position p;
	private String tileType;
	
	public TileImpl(Position p, String tileType)
	{
		this.p = p;
		this.tileType = tileType;
	}

	@Override
	public Position getPosition() {
		return p;
	}

	@Override
	public String getTypeString() {
		return tileType;
	}
	
	public String toString() {
		return p.toString()+tileType;
	}
}